package com.project.restaurant.order.service;

import com.project.restaurant.common.api.ServiceReturn;
import com.project.restaurant.order.dto.*;
import com.project.restaurant.order.enums.OrderState;
import com.project.restaurant.thirdpart.enums.WXPayState;


public interface OrderService {

    BriefOrderVo obtainUserBriefOrder(OrderState orderState);

    DetailOrderVo obtainUserDetailOrder(String orderId);

    QRPayInfo createOrder(PlaceOrderInfo placeOrderInfo) throws Exception;

    String flushQRCode(String orderId);

    WXPayState isWXPaySuccess(String orderId);
}
